package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.SpuSeriesRelation;
import com.yami.shop.bean.vo.SpuSeriesRelationVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpuSeriesRelationMapper extends BaseMapper<SpuSeriesRelation> {

    /**
     * 根据系列id 查询系列商品信息
     * @param seriesId
     * @return
     */
    List<SpuSeriesRelationVO> getSpuSeriesRelationList(@Param("seriesId")int seriesId);

    List<Long> getspuSeriesList(@Param("seriesId")Integer seriesId);
}
